package com.springcloud.atguigu.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author :hucaiyuan
 * @date :2022/02/26   15:08
 * @description :
 */
@Mapper
public interface AccountDao {
    void decrease(@Param("userId") Long userId,
                  @Param("money") BigDecimal money);
}
